package com.jade.zsy.base.entity;

import com.jade.bss.db.IdEntity;
import com.jade.zsy.base.common.StatusConstant;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 员工信息表
 * User: jinya
 * Date: 2017/5/31
 * Time: 11:07
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "SCF_BASE_EMPLOYEE")
public class Employee  extends IdEntity {
    @Column(name = "headPic", updatable = true, nullable = true, length = 100)
    private String headPic; /** 信息所有者类型 **/
    @Column (name = "code", updatable = true, nullable = false, length = 25)
    private String code; /** 员工编号 **/
    @Column (name = "name", updatable = true, nullable = false, length = 25)
    private String name; /** 姓名 **/
    @Column (name = "gender", updatable = true, nullable = true, length = 10)
    private String gender; /** 性别 **/
    @Column (name = "phone", updatable = true, nullable = true, length = 25)
    private String phone; /** 手机号码 **/
    @Column (name = "tel", updatable = true, nullable = true, length = 25)
    private String tel; /** 电话 **/
    @Column (name = "email", updatable = true, nullable = true, length = 50)
    private String email; /** Email **/
    @Column (name = "birth", updatable = true, nullable = true)
    private Date birth; /** 出生日期**/
    @Column (name = "helpCode", updatable = true, nullable = true, length = 25)
    private String helpCode; /** 助记码**/
    @Column (name = "certType", updatable = true, nullable = true, length = 25)
    private String certType; /** 证件类型 **/
    @Column (name = "certNo", updatable = true, nullable = true, length = 50)
    private String certNo; /** 证件号码 **/
    @Column (name = "orgId", updatable = true, nullable = true)
    private long orgId=0; /** 所属部门**/
    @Column (name = "positionId", updatable = true, nullable = true)
    private long positionId=0; /** 职务 **/
    @Column (name = "personnelType", updatable = true, nullable = true, length = 64)
    private String personnelType; /** 人员类别 **/
    @Column (name = "jobTitle", updatable = true, nullable = true, length = 64)
    private String jobTitle; /** 职称 **/
    @Column (name = "remark", updatable = true, nullable = true, length = 200)
    private String remark; /** 备注 **/

    @Column (name = "career", updatable = true, nullable = true, length = 25)
    private String career; /** 职业 **/
    @Column (name = "education", updatable = true, nullable = true, length = 25)
    private String education; /** 学历 **/
    @Column (name = "profession", updatable = true, nullable = true, length = 25)
    private String profession; /** 专业 **/
    @Column (name = "nativePlace", updatable = true, nullable = true, length = 50)
    private String nativePlace; /** 籍贯 **/
    @Column (name = "zip", updatable = true, nullable = true, length = 25)
    private String zip; /** 邮编 **/
    @Column (name = "address", updatable = true, nullable = true, length = 100)
    private String address; /** 通讯地址**/
    @Column (name = "emergencyContact", updatable = true, nullable = true, length = 25)
    private String emergencyContact; /** 紧急联系人 **/
    @Column (name = "emergencyContactTel", updatable = true, nullable = true, length = 25)
    private String emergencyContactTel; /** 家庭电话 **/
    @Column (name = "providentFundNo", updatable = true, nullable = true, length = 50)
    private String providentFundNo; /** 公积金账号 **/
    @Column (name = "socialNo", updatable = true, nullable = true, length = 50)
    private String socialNo; /** 社保编号 **/
    @Column (name = "bank", updatable = true, nullable = true, length = 25)
    private String bank; /** 银行 **/
    @Column (name = "bankNo", updatable = true, nullable = true, length = 50)
    private String bankNo; /** 银行帐号**/

    @Column (name = "status", updatable = true, nullable = true)
    private int status= StatusConstant.RECORD_INIT; /** 状态  0：正常  9：已停用 **/

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getHelpCode() {
        return helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public long getOrgId() {
        return orgId;
    }

    public void setOrgId(long orgId) {
        this.orgId = orgId;
    }

    public long getPositionId() {
        return positionId;
    }

    public void setPositionId(long positionId) {
        this.positionId = positionId;
    }

    public String getPersonnelType() {
        return personnelType;
    }

    public void setPersonnelType(String personnelType) {
        this.personnelType = personnelType;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyContactTel() {
        return emergencyContactTel;
    }

    public void setEmergencyContactTel(String emergencyContactTel) {
        this.emergencyContactTel = emergencyContactTel;
    }

    public String getProvidentFundNo() {
        return providentFundNo;
    }

    public void setProvidentFundNo(String providentFundNo) {
        this.providentFundNo = providentFundNo;
    }

    public String getSocialNo() {
        return socialNo;
    }

    public void setSocialNo(String socialNo) {
        this.socialNo = socialNo;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
